package com.ejd.web.vo.goods.clothing;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
@ManagedBean(name="listGeneralClothingPage")
@SessionScoped
public class ListGeneralClothingPageBean extends ListClothingPageBean implements java.io.Serializable {
	private static final long serialVersionUID = -8106629465344224765L;
	
	public ListGeneralClothingPageBean(){
		this.setApplyItems(this.initApply());
		this.setBrandCodeItems(this.initBrandCodes());
		this.setSecondCategoryItems(this.initSecondCategory());
		this.setMaterialItems(this.initMaterial());
		this.setPatternItems(this.initPattern());
		this.setCollarItems(this.initCollar());
		this.setStyleItems(this.initStyle());
		
		this.setDefaultHql("from Goods where primaryCategoryCode='clothing' and status='A' ");
		this.setHql(this.getDefaultHql());
		this.setPageNo(1);
		this.setPriceBetween("N");
		this.setSortStyle("NO");
		this.generateHQL(this.getDefaultHql());
		this.getPageDatas();
	}
}
